//
//  PickNumCQSSViewController.h
//  PlayBall
//
//  Created by Jdd‘s macbook on 13-10-23.
//
//

#import "JddBaseViewController.h"
#import "JddQueryDigitalLotteryIssueOperation.h"
#import "JddLotteryIssue.h"
#import "JddPickerView.h"
#import "JddComboBoxView.h"
#import "JddIndexListView.h"
#import "JddFc3dNumber.h"
#import <AVFoundation/AVFoundation.h>
#import "JddRandomSelectNumView.h"
#import "TSLocateView.h"

@interface JddPickNumCQSSViewController : JddBaseViewController<UITabBarDelegate,UIAlertViewDelegate,QueryDigitalLotteryIssueOperationDelegate,ComboBoxViewDelegate, IndexListViewDelegate,UIGestureRecognizerDelegate, UIAccelerometerDelegate,RandomSelectNumViewDelegate, UIActionSheetDelegate>{
@private
    NSTimer      *countDownTimer;
    NSDate       *endTime;
    NSDate       *currentTime;
    JddFc3dNumber   *lotteryNumber;
    NSMutableArray *lotteryNumArray;
    JddComboBoxView  *methodPick;
    JddIndexListView *indexList;
    NSInteger      shakeCount;
    JddRandomSelectNumView *randomSelectNumberDialog;
    
    BOOL          sharked;
    IBOutlet UIScrollView *sc;
    IBOutlet UIImageView *bg1, *bg2, *bg3, *bg4, *bg5, *bg6, *bg7;
    UIView  *defaultBg;
    NSArray *playName;
    BOOL isQuit;
    UIImageView *rImv;
    UIButton *rBtn;
    UIView *rv;
}

@property (strong, nonatomic) IBOutlet UILabel *issueCodeLabel;
@property (strong, nonatomic) IBOutlet UILabel *remainTimeLabel;
@property (strong, nonatomic) IBOutlet UILabel *playIDTips;
@property (strong, nonatomic) IBOutlet UILabel *label1, *label2, *label3, *label4, *label5;
@property (strong, nonatomic) IBOutlet UILabel *zhushuLabel;
@property (strong, nonatomic) IBOutlet UILabel *moneyLabel;
@property (strong, nonatomic) IBOutlet UILabel *playIDnameLabel;
@property (strong, nonatomic) JddPickerView *playPickView;
@property (strong, nonatomic) JddLotteryIssue *currentLotteryIssue;

SHARED_VIEW_CONTROLLER_DECLARE(JddPickNumCQSSViewController);
- (IBAction)changePlayIDClick:(id)sender;
- (IBAction)numberButtonClick:(id)sender;
- (IBAction)handleSingleTapGesture:(UITapGestureRecognizer*)sender;
- (IBAction)clearButtonClick:(id)sender;
- (IBAction)randomButtonClick:(id)sender;
- (IBAction)doneButtonClick:(id)sender;
- (IBAction)randomOne:(id)sender;


-(void)destoryView;

@end
